//
//  AddACarnivalViewController.h
//  PartyAnimal
//
//  Created by Hilary Muludiang on 3/15/12.
//  Copyright 2012 Muludiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AddACarnivalViewController : UIViewController {
	UITextField *carnivalTitle;
	UITextField *city;
	UITextField *state;
	UITextField *country;
	UITextField *endDate;
	UITextField *startDate;
	UIDatePicker *datePicker;
	UIPickerView *countryPicker;
	NSMutableArray *countries;
	UIButton *hideKeyboardButton;
	UITextField *phoneNumber;
	UITextField *website;
	UITextField *currentTextField;
	UIScrollView *scrollView;
	BOOL keyboardIsShown;

}

@property(nonatomic,retain) IBOutlet UITextField *country;
@property(nonatomic,retain) IBOutlet UITextField *endDate;
@property(nonatomic,retain) IBOutlet UITextField *startDate;
@property(nonatomic,retain) IBOutlet UIDatePicker *datePicker;
@property(nonatomic,retain) IBOutlet UIPickerView *countryPicker;
@property(nonatomic,retain) IBOutlet UITextField *carnivalTitle;
@property(nonatomic,retain) NSMutableArray *countries;
@property(nonatomic,retain) IBOutlet UIButton *hideKeyboardButton;
@property(nonatomic,retain) IBOutlet UITextField *city;
@property(nonatomic,retain) IBOutlet UITextField *state;
@property(nonatomic,retain) IBOutlet UITextField *phoneNumber;
@property(nonatomic,retain) IBOutlet UITextField *website;
@property(nonatomic,retain) IBOutlet UIScrollView *scrollView;

-(IBAction)cancelSubmit:(UIBarButtonItem *)sender;
-(IBAction)hideKeyboard:(UIButton *)sender;
-(IBAction)submitCarnival:(UIBarButtonItem *)sender;
-(IBAction)pickDate:(id)sender;

@end
